package core;

import Interface.Drawable;

import java.awt.*;

public abstract class Object implements Drawable {

    int x,y;
    int width,height;
    Image image;
    public boolean live;

    public Rectangle getRectangle(){
        return new Rectangle(x,y,width,height);
    }
}
